package myPoker;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        Method method = new Method();
        //获取牌
        List<Poker> ret = method.getPoker();
//        //洗牌
        method.Disrupt(ret);
        System.out.println(ret);
        //三个人抓牌
        //3. 3个人 每个人 轮流揭牌5张
        List<List<Poker>> ret1 = method.play(ret);

        for (int i = 0; i < ret1.size(); i++) {
            System.out.println("第" + (i + 1) + "个人的牌：" + ret1.get(i));
        }

        System.out.println("剩下的牌：");
        System.out.println(ret);

    }
}
